package com.jec.module.sysconfig.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.jec.module.sysconfig.entity.BroadcastConfig;

public interface BroadcastRepository extends JpaRepository<BroadcastConfig, Integer>{
	
	public List<BroadcastConfig> findAllByNetunit(int netunit);
	
	public boolean existsByBroadcaster(String broadcaster);
	
	public boolean existsByNetunitAndCode(int netunit, String code);
	
}
